package com.example.multithreadload;

public class DownLoadStatus {
    public static final int INIT = 0;
    public static final int DOWNLOADING = 1;
    public static final int PAUSE = 2;
    public static final int COMPLETE = 3;

    private int status = INIT;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public boolean isStatus(int status) {
        return this.status == status;
    }
}
